/* Hybrid Governance and the Attribution of Political Responsibility: 
Experimental Evidence from the United States */

*********************
 *** REPLICATION ***
*********************

* Download HybridGovAndPolRes.dta *
use "~/HybridGovAndPolRes.dta", clear

**********************
     *** MAIN ***
**********************

* Table 1
sum highptv1
sum buildexpectations
sum firstmanagementexpe
sum highptv2
sum buildassess
sum secondmanagementexpe

* Table 2
reg highptv1 ib3.ppp, r
reg buildexpectations ib3.ppp, r
reg firstmanagementexpe ib3.ppp, r

* Table 3
reg highptv1 ib3.ppp tollroad, r
reg buildexpectations ib3.ppp tollroad, r 
reg firstmanagementexpe ib3.ppp tollroad, r

* Table 4
reg highptv2 ib3.ppp, r
reg buildassess ib3.ppp, r
reg secondmanagementexpe ib3.ppp, r
reg highptv2 latebuild, r
reg buildassess latebuild, r 
reg secondmanagementexpe latebuild, r

* Table 5
reg highptv1 ib3.ppp##highpolk, r
reg buildexpe ib3.ppp##highpolk, r
reg firstman ib3.ppp##highpolk, r
bysort latebuild: reg highptv2 ib3.ppp##highpolk, r
bysort latebuild: reg buildass ib3.ppp##highpolk, r
bysort latebuild: reg secondman ib3.ppp##highpolk, r

* Table 6
reg highptv2 latebuild##highpolk, r
reg buildass latebuild##highpolk, r
reg secondman latebuild##highpolk, r


***********************
   *** APPENDIX ***
***********************

* Table A1
oneway female ppp, bon tab
oneway age ppp, bon tab
oneway whitecauc ppp, bon tab 
oneway highschool ppp, bon tab
oneway poor ppp, bon tab
oneway democrat ppp, bon tab
ttest female, by(tollroad)
ttest age, by(tollroad)
ttest whitecauc, by(tollroad)
ttest highschool, by(tollroad)
ttest poor, by(tollroad)
ttest highpolknow, by(tollroad)
ttest democrat, by(tollroad)
ttest female, by(latebuild)
ttest age, by(latebuild)
ttest whitecauc, by(latebuild)
ttest highschool, by(latebuild)
ttest poor, by(latebuild)
ttest highpolknow, by(latebuild)
ttest democrat, by(latebuild)

* Table A2
reg highptv1 democrat ib3.ppp##highpolk, r
reg buildexpe democrat ib3.ppp##highpolk, r
reg firstman democrat ib3.ppp##highpolk, r
bysort latebuild: reg highptv2 democrat ib3.ppp##highpolk, r
bysort latebuild: reg buildass democrat ib3.ppp##highpolk, r
bysort latebuild: reg secondman democrat ib3.ppp##highpolk, r

* Table A3
tabulate democrat highpol

* Table A4
regress _49 ib3.ppp, r 
regress highptv1 ib3.ppp, r
regress _51 ib3.ppp, r 
reg firstvote ib3.ppp, r
